/**
* @file css_doc.css
* @author Thomas Kadauke
* @css-for Safari 4, Firefox 3
*/

/**
* @section Reset styles
* These styles reset the default style sheet that comes with the user agent.
*/

/**
* Set margins and paddings to 0, and font-properties to a default value.
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-weight: inherit;
    font-style: inherit;
    font-size: 100%;
    font-family: inherit;
    vertical-align: baseline;
}

/**
* Reset focus styles to nothing.
* Remember to define focus styles in after this declaration.
*/
:focus {
    outline: 0;
}

/**
* Reset text color and line height.
*/
body {
    line-height: 1;
    color: black;
    background: white;
}

/**
* Remove default list decoration.
*/
ol, ul {
    list-style: none;
}

/*
* Remove default table styling.
* Tables still need 'cellspacing="0"' in the markup.
*/
table {
    border-collapse: separate;
    border-spacing: 0;
}

/**
* Reset text alignment and typography for special tags.
*/
caption, th, td {
    text-align: left;
    font-weight: bold;
}

tr{
    line-height: 10px;
}

/**
* Remove CSS generated content around citation tags.
*/
blockquote:before, blockquote:after,
q:before, q:after {
    content: "";
}

blockquote, q {
    quotes: "" "";
}

/**
* @section Typography
*/

/**
* A font size of 100.01% on the html tag makes it possible to easily convert
* em's to pixels with default font size settings in all major browsers.
*/
html {
    font-size: 100.01%;
}

/**
* Reset font size so that 1 em is 10 pixels.
*/
body {
    font-size: 62.5%;
    font-family: Arial, Verdana, Tahoma, 'Bitstream Vera Sans', sans serif;
}

/**                                                                                                                                                                                                1
* Set font size and spacing.
*/
#canvas {
    font-size: 1.2em;
    line-height: 1.3;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 10px;
    padding-right: 10px;
    min-width: 550px;
}

p {
    margin-bottom: 0.5em;
}

/**
* Use typewriter font for code examples.
*/
pre {
    font-family: Courier;
    width: 100%;
    overflow: auto;
}

/**
* @section Headers
*/

/**
* All headers use the same font, same margins, but different font sizes.
*/
h1, h2, h3, h4, h5, h6 {
    font-family: 'Arial', sans serif;
    font-weight: normal;
    line-height: 1;
    margin: 0 0 .5em 0;
    padding: 0;
}

h1 {
    font-size: 1.9em;
}

h2 {
    font-size: 1.8333333em;
}

h3 {
    font-size: 1.6em;
}

h4 {
    font-size: 1.4em;
}

h5 {
    font-size: 1em;
}

h6 {
    font-size: 1em;
}

/**
* @section Layout
*/

body {
    padding: 1em;
}

.content {
    margin-left: 15em;
}

/**
* Push navigation to the left-hand side.
*/
.navigation {
    float: left;
    width: 14em;
}

/**
* @section Lists
*/

dl {
    margin-bottom: 0.5em;
}

dt {
    font-weight: bold;
}

/**
* Use nice indentation to make definition items more distinguishable from the
* terms.
*/
dd {
    padding-left: 2em;
}

/**
* @section Indexes
*/

/**
* Index list items should be next to each other.
*/
dl.index ul li {
    display: inline;
}

/**
* Separate index list items by commas via CSS.
*/
dl.index ul li:after {
    content: ', ';
}

/**
* No comma for the last index list item.
*/
dl.index ul li:last-child:after {
    content: '';
}

/**
* Actually use bullets for the file index.
*/
ul.file-index {
    list-style-type: disc;
}

ul.file-index li {
    margin-left: 3em;
}

/**
* @section Document page
*/

ul.rule-sets, ul.sections {
    margin-bottom: 0.5em;
}

/**
* Like index lists, the table of contents lists on the document page should be
* inlined.
*/
ul.sections li, ul.rule-sets li {
    display: inline;
}

/**
* Again, use CSS-generated commas to separate the items.
*/
ul.sections li:after, ul.rule-sets li:after {
    content: ', ';
}

/**
* No comma for the last one.
*/
ul.sections li:last-child:after, ul.rule-sets li:last-child:after {
    content: '';
}

/**
* Give section headers a visual emphasis.
*/
h3.section {
    border-top: 1px solid #AAA;
    border-bottom: 1px solid #AAA;
    margin-top: 1em;
    margin-bottom: 0.5em;
    margin-left: -20px;
    padding: 5px 5px 5px 20px;
    cursor: pointer;
    color: #282828;
    vertical-align: middle;
}

/**
* Examples are surrounded by a thick border. Also there is a rather large
* padding to make it clear where the example starts. This selector is the
* namespace for generated CSS, which is used to style the example in the box.
*/
div.example {
    margin: 1em 0 1em 2em;
    border: 2px solid #000;
    padding: 1em;
}

/**
* @section Table of contents
*/

ul.navigation li {
    border-top: 1px solid #AAA;
    /*border-right: 1px solid #AAA;*/
    border-left: 1px solid #AAA;
    padding: 0.25em;
    background: -moz-linear-gradient(left, #888, #FFF);
    background: -webkit-gradient(linear, left top, right bottom, from(#888), to(#FFF));
    padding: 5px;
}

ul.navigation li:first-child {
    border-radius: 7px 0 0 0;
}

ul.navigation li:last-child {
    border-bottom: 1px solid #AAA;
    border-radius: 0 0 0 7px;
}

/**
* @section Footer
*/

/**
* Center footer line.
*/
#footer {
    margin-top: 2em;
    text-align: center;
}

/**
* @section JavaScript
*/
.header-comment {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    height: 1em;
    margin-bottom: 0;
    font-size: 14px;
    display: inline;
    top: -3px;
    position: relative;
}

.rule-expanded .header-comment {
    /*width: 100%;
    overflow: visible;
    white-space: normal;
    height: auto;
    background-color: #FFFFFF;*/
    display: none;
}

.comment {
    margin-top: 10px;
    margin-left: 10px;
}

.section-collapsed .comment {
    display: none;
}

.section-expanded .comment {
    display: block;
}

.collapsed {
    color: #000;
}

.expanded {
    color: #000;
    clear: left;
    margin-left: 20px;
    margin-top: 3px;
}

.rule-set {
    cursor: pointer;
    margin-bottom: 0;
    padding: 5px 5px 5px 20px;
    /*margin-left: 20px;*/
}

.rule-collapsed .rule-set {
    background: url("../images/collapsed.png") 1px center no-repeat #F1F1F1;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    height: 17px;
}

.rule-expanded .rule-set {
    background: url("../images/expanded.png") 1px center no-repeat #F1F1F1;
}

.rule-collapsed .collapsed {
    display: block;
}

.rule-collapsed .expanded {
    display: none;
}

.rule-expanded .collapsed {
    display: none;
}

.rule-expanded .expanded {
    display: block;
}

.section-collapsed .section {
    background: url("../images/collapsed.png") 1px center no-repeat #FAFAFA;
}

.section-expanded .section {
    background: url("../images/expanded.png") 1px center no-repeat #FAFAFA;
}

.section-collapsed .rule {
    display: none;
}

.section-expanded .rule {
    display: block;
}

.section-container {
    padding-left: 20px;
}

.rule {
    padding-top: 10px;
}

.properties td {
    padding: 2px 2px 2px 4px;
}

.properties tr td:first-child {
    font-weight: normal;
}

.properties tr td:last-child {
    font-weight: normal;
}

.header {
    background: -moz-linear-gradient(top, #666, #DDD);
    background: -webkit-gradient(linear, left top, left bottom, from(#666), to(#DDD));
    padding: 10px 5px 10px 5px;
    vertical-align: middle;
}

.footer {
    background: -moz-linear-gradient(bottom, #666, #DDD);
    background: -webkit-gradient(linear, left bottom, left top, from(#666), to(#DDD));
    height: 42px;
    margin-top: 10px;
    clear: left;
}

.collapse-expand-button {
    color: #010101;
    border: #AAAAAA solid 1px;
    border-radius: 3px;
    margin-left: 2px;
    display: inline-block;
    padding: 0 1px 0 1px;
    font-size: 11px;
}

.section-collapsed .collapse-expand-button {
    display: none;
}

.section-expanded .collapse-expand-button {
    display: inline-block;
}

a {
    color: #1A1A1A;
    text-decoration: none;
    font-size: 14px;
}

.horizontal {
    display: -webkit-box;
    display: -moz-box;
    display: box;
    -webkit-box-orient: horizontal;
    -moz-box-orient: horizontal;
    box-orient: horizontal;
}

.horizontal h4 {
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    box-flex: 1;
}

.horizontal p {
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    box-flex: 1;
}

.rule-header-contianer {
    margin-left: 20px;
    margin-bottom: 4px;
    background-color: #F0F0F0;
}

.rule-collapsed .rule-set ul {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    height: 1em;
    width: 200px;
    display: inline-block;
}

.rule-expanded .rule-set ul {
    width: auto;
}

.rule-collapsed .rule-set ul li {
    display: inline;
}

.rule-collapsed .rule-set ul li:after {
    content: ', ';
}

.rule-collapsed .rule-set ul li:last-child:after {
    content: '';
}

.rule-expanded .rule-set ul li {
    display: inline-block;
    width: 32%;
}

.rule-list {
    color: #0000AA;
}

.count {
    width: 30px;
    padding-right: 15px;
    top: -3px;
    position: relative;
}

.rule-collapsed .count {
    display: inline-block;
}

.rule-expanded .count {
    display: none;
}

.title{
    display: inline-table;
    width: 82%;
}


.section-collapsed .title {
    display: inline;
    width: 100%;
}

.section-expanded .title {
    display: inline-table;
    width: 82%;
}

.color_icon{
    width: 8px;
    height: 10px;
    border: #AAA solid 1px;
}

.subsection{

}

.subsection_title{
   margin: 15px 0 0 0;
   padding: 3px 3px 3px 20px;
   background-color: #D1D1D1;
   /*border-top: 1px solid #BBB;
    border-bottom: 1px solid #BBB;*/
}





